"a test module"
__author__ = "zhangyanqiang"

from tkinter import *

class Application(Frame):
    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.pack()
        self.createWidgets()

    def createWidgets(self):
        self.helloLabel = Label(self, text='你好 世界')
        self.helloLabel.pack()
        self.quitButton = Button(self, text='退出', command=self.quit)
        self.quitButton.pack()



if __name__ == '__main__':
    app = Application()
    app.master.title('你好 世界')
    app.mainloop()

